package com.linq.cool.common.log.service;

import com.linq.cool.api.domain.SysOperateLog;
import com.linq.cool.api.feign.RemoteSysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: yqlin
 * @Date: 2020/12/29 17:14
 * @Description: 异步调用日志服务
 * @Version: 1.0.0
 */
@Service
public class AsyncOperateLogService {
    @Autowired
    private RemoteSysLogService remoteSysLogFeign;

    /**
     * 保存系统操作日志
     */
    public void saveOperateLog(SysOperateLog operateLog) {
        remoteSysLogFeign.saveOperateLog(operateLog);
    }
}
